import axios from '../http';

export function create(file) {
	return axios({
		url: 'safety-agreement/add',
		method: 'post',
		data: {
			'file': file
		},
		headers: {
			'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
		}
	})
}

export function show() {
	return axios({
		url: 'safety-agreement/show',
		method: 'get',
		data: {},
		headers: {
			'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
		}
	})
}